package com.xqboss.apps.dto.hama;

import com.xqboss.apps.enums.hama.HamaConfigNumberConfigTypeEnum;
import com.xqboss.apps.enums.hama.HamaConfigNumberPeopleEnum;
import com.xqboss.apps.enums.hama.HamaConfigNumberTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 蛤蟆卡、助力人数 对应空投速度
 * </p>
 *
 * @author admin
 * @since 2024-02-28
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="HamaConfigNumberDto", description="蛤蟆卡、助力人数 对应空投速度")
public class HamaConfigNumberDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "数量 (如果是新人 数量就是对应天数)")
    @NotNull(message = "数量不能为空~")
    private Integer number;

    @ApiModelProperty(value = "基本速度（1小时多少力豆）")
    @NotNull(message = "基本速度不能为空~")
    @Min(0)
    private BigDecimal basicSpeed;

    @ApiModelProperty(value = "配置类型（1-投放装备 2-全力助力 3-新人助力）")
    private HamaConfigNumberConfigTypeEnum configType;

}
